package com.example.xmh.emo.mysql.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xmh
 * @since 2021-11-12
 */
@Data
public class Reserve implements Serializable {

    private static final long serialVersionUID = 1L;

    private int id;

    private String phoneNumber;

    private String area;

    private String channel;

    private String reserveCode;

    private boolean isUsed;

    public Reserve(int id,String phoneNumber,String area,String channel,String reserveCode,boolean isUsed){
        this.id = id;
        this.phoneNumber = phoneNumber;
        this.area = area;
        this.channel = channel;
        this.reserveCode = reserveCode;
        this.isUsed = isUsed;
    }

    @Override
    public String toString() {
        return "Reserve{" +
            "phoneNumber=" + phoneNumber +
            ", area=" + area +
            ", channel=" + channel +
            ", reserveCode=" + reserveCode +
        "}";
    }
}
